package otw.model;

import java.util.Date;

import otw.model.base.BaseIdModel;

public class User extends BaseIdModel {
	private Integer id;
	private String email;
	private String password;
	private String firstName;
	private String lastName;
	private int countryFrom;
	private int cityNow;
	private int sex;
	private int age;
	private int occupation;
	private String selfIntro;
	private int headPhotoId;
	private int loveStatus;
	private Date createDate;
	private Date lastLoginDate;
	private boolean enabled;

	public User() {}

	public User(Integer id) {
		this.id = id;
	}

	public User(String email, String password) {
		this.email = email;
		this.password = password;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public int getCountryFrom() {
		return countryFrom;
	}

	public void setCountryFrom(int countryFrom) {
		this.countryFrom = countryFrom;
	}

	public int getCityNow() {
		return cityNow;
	}

	public void setCityNow(int cityNow) {
		this.cityNow = cityNow;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getOccupation() {
		return occupation;
	}

	public void setOccupation(int occupation) {
		this.occupation = occupation;
	}

	public String getSelfIntro() {
		return selfIntro;
	}

	public void setSelfIntro(String selfIntro) {
		this.selfIntro = selfIntro;
	}

	public int getHeadPhotoId() {
		return headPhotoId;
	}

	public void setHeadPhotoId(int headPhotoId) {
		this.headPhotoId = headPhotoId;
	}

	public int getLoveStatus() {
		return loveStatus;
	}

	public void setLoveStatus(int loveStatus) {
		this.loveStatus = loveStatus;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
}
